Learn R Programming

Directional (version 5.5)

Interactive 3D plot of spherical data: Interactive 3D plot of spherical data

Description

Interactive 3D plot of spherical data.

Usage

sphereplot(x, col = NULL)

Value

An interactive 3D plot of the spherical data will appear.

Arguments

x

A matrix with three columns, unit-vectors, spherical data.

col

If you want the points to appear with different colours put numbers here, otherwise leave it NULL.

Author

Michail Tsagris R implementation and documentation: Michail Tsagris mtsagris@uoc.gr

See Also

lambert, vmf.contour, euclid

Examples

Run this code
if (FALSE) {
x <- rvmf(100, rnorm(3), 5)
sphereplot(x)
ina <- rbinom(100, 1, 0.5) + 1
sphereplot(x, col = ina)
}

Run the code above in your browser using DataLab